package com.zfzs.post.modules.agent.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;


/**
* @author ck
* @date 2019-11-27
*/
@Data
public class PolicyDividedDTO implements Serializable {

    // 处理精度丢失问题
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    // 所属代理商id
    private Long agentId;

    // 终端id
    private Long terminalId;

    // 渠道id
    private Long channelId;

    private Long amount;

    // 录入时间
    private Timestamp createTime;
}